package com.lin.manager.rabbitmq;

import org.springframework.amqp.core.Exchange;

/**
 * @author linjiang
 * @date 2024/8/23
 * @fn
 */
@FunctionalInterface
public interface ExchangeService {
    /**
     * 创建交换机
     *
     * @param name
     * @return
     */
    Exchange create(String name);

}
